home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 224_01 / comm.hlp < prev    next >
Text File  |  1987-01-04  |  640b  |  19 lines

  1. NAME
  2.      comm - select or reject lines common to two sorted files
  3.  
  4. SYNTAX
  5.      comm [ - [ 123 ] ] file1 file2
  6.  
  7. DESCRIPTION
  8.      Comm reads file1 and file2, which should be sorted, and produces
  9.      a three column output: lines only in file1; lines only in file2; 
  10.      and lines in both files.  The filename '-' means the standard input.
  11.  
  12.      Flags 1, 2, or 3 suppress printing of the corresponding
  13.      column.  Thus comm -12 prints only the lines common to the
  14.      two files; comm -23 prints only lines in the first file but
  15.      not in the second; comm -123 is a no-op.
  16.  
  17. SEE ALSO
  18.      cmp, uniq
  19.